package org.sam.swing.table.action;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.ImageIcon;

import org.jdesktop.swingx.JXTable;
import org.sam.swing.resource.ResourceLoader;

/**
 * 查找和替换文本action
 * 
 * @author sam
 *
 */
public class JSTableFindAction extends JSTableBaseAction {

	private static final long serialVersionUID = 3302592873358086471L;

	/**
	 * 查找和替换文本action
	 * @param table
	 */
	public JSTableFindAction(JXTable table) {
		super(table);
		this.putValue(AbstractAction.NAME, "查找");
		this.putValue(AbstractAction.SMALL_ICON,
				new ImageIcon(ResourceLoader.getResource(ResourceLoader.IMAGE_FIND)));
		this.putValue(SHORT_DESCRIPTION, "查找和替换文本对象操作");
	}

	/**
	 * 导入数据操作
	 */
	public void actionPerformed(ActionEvent e) {
	}

}
